package cn.stylefeng.guns.modular.gui.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 订单管理
 * </p>
 *
 * @author Dong
 * @since 2023-06-09
 */
@TableName("p_order")
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单编号
     */
    @TableField("orderNum")
    private String orderNum;

    /**
     * 开始时间
     */
    @TableField("starTime")
    private Date starTime;

    /**
     * 结束时间
     */
    @TableField("endTime")
    private Date endTime;

    /**
     * 时长
     */
    @TableField("howlong")
    private Integer howlong;

    /**
     * 仓格ID
     */
    @TableField("cgId")
    private String cgId;

    /**
     * 仓格名称
     */
    @TableField("cgStr")
    private String cgStr;

    /**
     * 储存物品
     */
    @TableField("wp")
    private String wp;

    /**
     * 联系方式
     */
    @TableField("phone")
    private String phone;

    /**
     * 姓名
     */
    @TableField("username")
    private String username;

    /**
     * 身份证
     */
    @TableField("idCard")
    private String idCard;

    /**
     * 优惠券ID
     */
    @TableField("qid")
    private Long qid;

    /**
     * 优惠金额
     */
    @TableField("yhje")
    private BigDecimal yhje;

    /**
     * 原价
     */
    @TableField("yuanjia")
    private BigDecimal yuanjia;

    /**
     * 实付
     */
    @TableField("shifu")
    private BigDecimal shifu;

    /**
     * 支付状态
     */
    @TableField("paystate")
    private Integer paystate;

    /**
     * 订单状态
     */
    @TableField("state")
    private Integer state;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;

    /**
     * 支付时间
     */
    @TableField("payTime")
    private Date payTime;

    /**
     * 删除
     */
    @TableField("del")
    private Integer del;

    /**
     * 用户ID
     */
    @TableField("uid")
    private Long uid;
    @TableField("gid")
    private Long gid;
    @TableField("sid")
    private Long sid;
    
    
    @TableField("nonceStr")
    private String nonceStr;
    @TableField("packages")
    private String packages;
    @TableField("paySign")
    private String paySign;
    @TableField("timeStamp")
    private String timeStamp;
    @TableField("signType")
    private String signType;


    public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getPackages() {
		return packages;
	}

	public void setPackages(String packages) {
		this.packages = packages;
	}

	public String getPaySign() {
		return paySign;
	}

	public void setPaySign(String paySign) {
		this.paySign = paySign;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Date getStarTime() {
        return starTime;
    }

    public void setStarTime(Date starTime) {
        this.starTime = starTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getHowlong() {
        return howlong;
    }

    public void setHowlong(Integer howlong) {
        this.howlong = howlong;
    }

    public String getCgId() {
        return cgId;
    }

    public void setCgId(String cgId) {
        this.cgId = cgId;
    }

    public String getCgStr() {
        return cgStr;
    }

    public void setCgStr(String cgStr) {
        this.cgStr = cgStr;
    }

    public String getWp() {
        return wp;
    }

    public void setWp(String wp) {
        this.wp = wp;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Long getQid() {
        return qid;
    }

    public void setQid(Long qid) {
        this.qid = qid;
    }

    public BigDecimal getYhje() {
        return yhje;
    }

    public void setYhje(BigDecimal yhje) {
        this.yhje = yhje;
    }

    public BigDecimal getYuanjia() {
        return yuanjia;
    }

    public void setYuanjia(BigDecimal yuanjia) {
        this.yuanjia = yuanjia;
    }

    public BigDecimal getShifu() {
        return shifu;
    }

    public void setShifu(BigDecimal shifu) {
        this.shifu = shifu;
    }

    public Integer getPaystate() {
        return paystate;
    }

    public void setPaystate(Integer paystate) {
        this.paystate = paystate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Order{" +
        "id=" + id +
        ", orderNum=" + orderNum +
        ", starTime=" + starTime +
        ", endTime=" + endTime +
        ", howlong=" + howlong +
        ", cgId=" + cgId +
        ", cgStr=" + cgStr +
        ", wp=" + wp +
        ", phone=" + phone +
        ", username=" + username +
        ", idCard=" + idCard +
        ", qid=" + qid +
        ", yhje=" + yhje +
        ", yuanjia=" + yuanjia +
        ", shifu=" + shifu +
        ", paystate=" + paystate +
        ", state=" + state +
        ", createTime=" + createTime +
        ", payTime=" + payTime +
        ", del=" + del +
        ", uid=" + uid +
        ", gid=" + gid +
        ", sid=" + sid +
        ", nonceStr=" + nonceStr +
        ", packages=" + packages +
        ", paySign=" + paySign +
        ", timeStamp=" + timeStamp +
        ", signType=" + signType +
        "}";
    }
}
